<template>
    <div>
        <h1>404，不好意思页面不存在--{{i}}</h1>
    </div>
</template>
<script>
export default {
    name:'NotFound',
    data() {
        return {
            i: 5
        }
    },
    mounted() {
        var time = setInterval(() => {
            this.i--;
            if (this.i < 1) {
                clearInterval(time);
                this.$router.push({path:'/home',name:'Home'});
            }
        }, 1000)
    },
}
</script>
<style scoped>
    
</style>